package java11;

import java.util.function.Consumer;

public class Test {
    public static void main(String[] args) {
        Consumer<String> consumer = (var str)-> {
            System.out.println(str);
        };
        consumer.accept("Hello");
    }
}
